
#ifndef __RECTANGLE_H__
#define __RECTANGLE_H__

class Rectangle
{
public:
	Rectangle(const double width, const double length);
	double getArea() const;
        double getPrimeter() const;
        void setLength(const double value);
        void setWidth(const double value);      

private:
        bool  isValid(const double side) const;
        double formatInput (const double side)const ;
        double formatOutput (double result) const;

	double mWidth;
	double mLength;
};



#endif

